package com.xl.generator.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName competition_detail
 */
@TableName(value ="competition_detail")
@Data
public class CompetitionDetail implements Serializable {
    /**
     * 比赛id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 比赛类型
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 比赛名称
     */
    @TableField(value = "competitionName")
    private String competitionName;

    /**
     * 问题数量
     */
    @TableField(value = "questionNumber")
    private Integer questionNumber;

    /**
     * 总得分
     */
    @TableField(value = "totalScore")
    private Integer totalScore;

    /**
     * 客观题分数
     */
    @TableField(value = "subjectiveScore")
    private Integer subjectiveScore;

    /**
     * 选择题分数
     */
    @TableField(value = "choiceScore")
    private Integer choiceScore;

    /**
     * 正确率
     */
    @TableField(value = "accuracyDemand")
    private Integer accuracyDemand;

    /**
     * 比赛时间
     */
    @TableField(value = "competitionTime")
    private Integer competitionTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}